home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1999 March
/
EnigmA AMIGA RUN 35 (1999)(G.R. Edizioni)(IT)[!][issue 1999-03].iso
/
earcd
/
devel
/
vbcc-ppc-src
/
machines
/
amigappc
/
include
/
assert.h
next >
Wrap
C/C++ Source or Header
|
1999-01-01
|
281b
|
15 lines
#ifndef __ASSERT_H
#define __ASSERT_H 1
#endif
#undef assert
extern int __aprintf(const char *,...);
#ifndef NDEBUG
#define assert(exp) ((void)((exp)?0:(__aprintf("Assertion failed: file %s, line %d\n",__FILE__,__LINE__),abort(),0)))
#else
#define assert(exp) ((void)0)
#endif